import 'package:saas_order_meal/saas_order_meal.dart';

class Apis{

  static String get _baseUrl => SaasOrderMeal.baseUrl;

  ///图片获取地址+图片id
  static String get imageHead => "${_baseUrl}commonAttachDown/download?id=";

  ///长者月点餐列表
  static String get elderMonthRecord => "${SaasOrderMeal.baseUrl}order/findMonthPersonOrder";

  ///获取字典值
  static String get codeValue => "${_baseUrl}comn/codeValue/list";

  ///获取长者点餐绑定/份数限制信息
  static String get elderBindInfo => "${_baseUrl}order/getElderInfo";

  ///场所列表
  static String get placeList => "${_baseUrl}site/siteInfoList";

  ///根据日期获取周菜单
  static String get weekMenuByDay => "${_baseUrl}menus/getWeekMenuAboutDay";

  ///获取周菜单-个人点餐信息-绑定场所，用餐方式；
  static String get elderInfoByWeek => "${_baseUrl}menus/getWeekInfoAboutUser";

  ///周点餐-按顿
  static String get submitWeekByMeal => "${_baseUrl}order/saveWeekOrderByDaySection";

  ///获取订单信息
  static String get orderInfo => "${_baseUrl}order/getOrderInfo";

  ///一卡通支付
  static String get oneCardPay => '${_baseUrl}order/oneCardPay';

  ///取消订餐
  static String get cancelFood => "${_baseUrl}order/cancelWeekOrder";

  ///批量提交点餐
  static String get batchSubmitOrder => "${_baseUrl}order/saveBatchWeekOrderByDaySection";

  ///批量支付
  static String get batchPayOrder => "${_baseUrl}order/oneCardBatchPay";

  /*长者标签*/
  static String get oldTag  => "${_baseUrl}order/getTags";

  ///获取收费规则
  static String get feeRule => "${_baseUrl}menuType/getMenuTypeInfoByHumanId";

  ///获取一卡通账户信息
  static String get checkAccount => "${_baseUrl}finAcct/interfaces/getAcctInfo";
}